UploadCACertificate
Description
call UploadCACertificate to upload CA certificate.
Request Method
POST
Request Path
/apsara/route/Slb/UploadCACertificate
Request Parameters Common Parameters
| Name | Location | Type | Required | Sample value | Description |
|---|---|---|---|---|---|
| regionId | BODY | string | Yes | No sample value for this parameter. | region id |
| CACertificate | BODY | string | Yes | test | the content of the CA certificate to be uploaded. |
| CACertificateName | BODY | string | No | mycacert01 | CA certificate name. |
| RegionId | BODY | string | Yes | cn-qingdao-env17-d01 | the region ID of the load balancing instance. you can query the region by calling DescribeRegions interface ID. |
| version | BODY | string | No | 2016-01-01 | version of api |
Return data
| Name | Type | Sample value | Description |
|---|---|---|---|
| Fingerprint | string | 02:DF: AB :ED | fingerprint of CA certificate. |
| RequestId | string | 365F4154-92F6-4AE4-92F8-7FF34B540710 | request ID. |
| CACertificateId | string | 139a00604ad-cn-east-hangzh**** | CA certificate ID. |
| CACertificateName | string | mycacert01 | the name of the ca certificate. |
Example
Successful Response example
{
"Fingerprint":"02:DF: AB :ED",
"RequestId":"365F4154-92F6-4AE4-92F8-7FF34B540710",
"CACertificateId":"139a00604ad-cn-east-hangzh****",
"CACertificateName":"mycacert01"
}
Failed Response example
{
"errorSample":
{
"resultCode":-1,
"resultMsg":"system error",
"result":null
}
}